package com.mini.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author hy
 * @since 2021-04-28
 */
@TableName("t_vaccine_user_info")
@ApiModel(value="TVaccineUserInfo对象", description="")
public class VaccineUserInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "预约接种id")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "预约用户id")
    private String userId;

    @ApiModelProperty(value = "预约接种时间")
    private Date vaccinateTime;

    @ApiModelProperty(value = "接种点地址")
    private String vaccinateAddress;

    @ApiModelProperty(value = "接种点电话")
    private String vaccinatePhone;

    @ApiModelProperty(value = "接种点名称")
    private String vaccinateName;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;

    @ApiModelProperty(value = "逻辑删除,是1、否0")
    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    private Integer isDeleted;

    @ApiModelProperty(value = "乐观锁")
    @Version
    private Integer version;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Date getVaccinateTime() {
        return vaccinateTime;
    }

    public void setVaccinateTime(Date vaccinateTime) {
        this.vaccinateTime = vaccinateTime;
    }

    public String getVaccinateAddress() {
        return vaccinateAddress;
    }

    public void setVaccinateAddress(String vaccinateAddress) {
        this.vaccinateAddress = vaccinateAddress;
    }

    public String getVaccinatePhone() {
        return vaccinatePhone;
    }

    public void setVaccinatePhone(String vaccinatePhone) {
        this.vaccinatePhone = vaccinatePhone;
    }

    public String getVaccinateName() {
        return vaccinateName;
    }

    public void setVaccinateName(String vaccinateName) {
        this.vaccinateName = vaccinateName;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public VaccineUserInfo(String id, String userId, Date vaccinateTime, String vaccinateAddress, String vaccinatePhone, String vaccinateName, Date gmtCreate, Date gmtModified, Integer isDeleted, Integer version) {
        this.id = id;
        this.userId = userId;
        this.vaccinateTime = vaccinateTime;
        this.vaccinateAddress = vaccinateAddress;
        this.vaccinatePhone = vaccinatePhone;
        this.vaccinateName = vaccinateName;
        this.gmtCreate = gmtCreate;
        this.gmtModified = gmtModified;
        this.isDeleted = isDeleted;
        this.version = version;
    }

    public VaccineUserInfo() {
    }
}
